package com.cloud.common.config;

import com.cloud.common.loadbalance.DefaultLoadBalancerClient;
import org.springframework.cloud.client.loadbalancer.LoadBalancerClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 负载均衡配置类
 *
 * @author fengwenjin
 */
@Configuration
public class LoadbalancerConfig {
    @Bean
    public LoadBalancerClient loadBalancerClient() {
        return new DefaultLoadBalancerClient();
    }
}
